package ustc.xiaoyang.karl.linkedlist;

/**
 * 链表节点类
 */
public class ListNode {
    int val;
    ListNode next;
    public ListNode(int x) {
        val = x;
    }
    public ListNode(int x, ListNode next) {
        val = x;
        this.next = next;
    }
    public ListNode() {
    }
}
